🚀 Nuvio Master Panel - Quick Start & Operations Guide 
Welcome to your Nuvio Master Panel. This panel is designed to be simple to deploy, easy to manage, and ready to use within minutes. With its self-contained SQLite setup and built-in automation, there is no separate MySQL database or complicated server configuration required. 

PART 1: INSTALLATION 

Step 1: Upload the Panel Files 
•	1. Log in to your hosting account and open File Manager. 
•	2. Go to your website directory (public_html or htdocs). 
•	3. Upload the panel files and extract them directly into that folder. 
•	4. Ensure the .htaccess file is present (required for secure routing). 

Step 2: Run the Setup Wizard 
•	1. Open your website in your browser (e.g., https://yourwebsite.com). 
•	2. The installation wizard will open automatically. 
•	3. Enter your desired Master Admin credentials. 
•	4. Click Install System. 

The panel will generate your secure configuration and database files automatically. 

PART 2: PANEL FEATURES 
1.	Create a New Client Use the "Provision Client" tab to create Nuvio accounts. 
•	🎲 Auto-Generate: Creates a random email and password. 
•	📥 Import from Stremio: Click this to paste a client’s Stremio Auth Token/URL. The panel will instantly import their existing addons for you. 
•	Configuration: Add your chosen manifest URLs, which the panel will encrypt and bind to the client's account. 
2.	JS Plugin Management Use the "JS Plugins" tab to manage native JavaScript providers (Hermes engine). 
•	Add plugins via Manifest URL. 
•	Use the Sync Plugins button to push updates to all your clients simultaneously. 
•	The system automatically handles local cache clearing on your clients' devices. 
3.	UI Collections Management (NEW)
•	Use the "UI Collections" tab to completely reorganize your clients' home screens with custom layout categories.
•	Paste your Collection JSON URL to instantly import content rows.
•	Rearrange row priorities using the up/down arrows, or remove rows entirely to customize the look.
•	Click "Sync Collections to Active Clients" to push the new layout directly to your users instantly.
4.	Secure URL Protection The panel automatically secures your setup: 
•	Encrypted secure routing. 
•	Hidden source URLs. 
•	User-bound links (prevents sharing). 
•	Automatic account expiry/revocation enforcement. 
5.	Global Sync & Decoupled Updates
•	When you update your primary Addon list, use the dedicated "Sync Configs to Active Clients" button to push updated configurations to all active users instantly. 
•	You can now push global updates for Addons, Plugins, and Collections completely independently without needing to create a new client!
6.	Reseller Network Supply other sellers using our credit-based system. 
•	Create reseller accounts and manage their Vault Credit balance. 
•	Adding/deducting credits is tracked instantly. 

PART 3: IMPORTANT NOTES 
•	Database Auto-Patcher: The panel includes an intelligent migration tool. When upgrading from older versions, the system will automatically update your database structure on your first login—no SQL work is needed. 
•	Backups: Always keep a backup of your config.php and your .sqlite database file. 
•	Requirements: Ensure your hosting environment supports PHP 7.4+ and has the IonCube Loader extension enabled. 

PART 4: SUMMARY The Nuvio Master Panel is built to give you a fast, secure, and easy way to manage client accounts, protect addon URLs, and operate a reseller-based streaming business from a simple web panel. Upload it. Install it. Log in. Start selling. 
